package com.ReturnData;

public enum CommonStatus {
	OK(200,"操作成功"),
	ERROR(-1,"操作失败"),
	NOT_FOUND(-2,"没查到对应的数据"); 
	
	private Integer value;
	private String message;
	
	CommonStatus(Integer value, String message){
		this.value=value;
		this.message=message;
	}

	public Integer getValue() {
		return value;
	}

	public void setValue(Integer value) {
		this.value = value;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}
}
